package day04;

public class Test02 {
        public static void main(String[] args) {
          //小芳的妈妈每天给她2.5元钱
          double money = 0;
          int counter =0;
          while(true){
              money+=2.5;
              counter+=1;
              if(counter%5==0 && money>=6){
                  money-=6;
              }
          if(money>=100){
            System.out.println("要"+counter+"天");
              break;
          }
        }
      }
      
}
